package org.efficientsoap.test.datatypes;

import java.util.ArrayList;


public class ComplexData {

	private PrimitiveData primitiveData;
	private SimpleData simpleData;
	private ArrayList<SimpleData> simpleList;

	public PrimitiveData getPrimitiveData() {
		return primitiveData;
	}

	public void setPrimitiveData(PrimitiveData primitiveData) {
		this.primitiveData = primitiveData;
	}

	public SimpleData getSimpleData() {
		return simpleData;
	}

	public void setSimpleData(SimpleData simpleData) {
		this.simpleData = simpleData;
	}

	public ArrayList<SimpleData> getSimpleList() {
        if (simpleList == null) {
            simpleList = new ArrayList<SimpleData>();
        }
        return simpleList;
	}

	public void setSimpleList(ArrayList<SimpleData> simpleList) {
		this.simpleList = simpleList;
	}

}
